package org.high5.model;


public class CanvasCoordinates{
	private double mX, mY, mAltitude;
	public static final int COLOR_MAX = 255;
	public CanvasCoordinates(double x, double y, double alt){
		mX = x;
		mY = y;
		
		alt/=2;
		if(alt>COLOR_MAX*2)
			alt = COLOR_MAX*2;
		
		mAltitude = alt;
		
	}
	
	public double getX(){
		return mX;
	}
	
	public double getY(){
		return mY;
	}
	
	public double getAltitude(){
		return mAltitude;
	}

	public void setX(double mX) {
		this.mX = mX;
	}

	public void setY(double mY) {
		this.mY = mY;
	}

	public void setAlt(double mAltitude) {
		this.mAltitude = mAltitude;
	}
	
}

